<?php
declare(strict_types=1);

namespace App\Controller\Admin\V1;

use App\Controller\Admin\AdminController;
use App\Repositories\AreaRepository;

class AreaController extends AdminController
{
    public function all()
    {
        $datas = AreaRepository::getInstance()->all();
        return $this->response->success($datas);
    }
}